package com.example.shorg.repository;

import com.example.shorg.dataobject.OrderMaster;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

public interface OrderMasterRepository extends JpaRepository<OrderMaster, String> {

    /**根据买家的openid来查询*/
    Page<OrderMaster> findByBuyerOpenid(String buyerOpenid, Pageable pageable);


}
